package com.sc.nft.entity.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
public class DistributionRewardsDTO {
    @ApiModelProperty("奖励总数")
    @NotNull(message = "金额总数不能为空")
    private BigDecimal numberAwards;
    @ApiModelProperty("发送类型")
    @NotNull(message = "type类型不能为空")
    @Range(min = 40, max = 44, message = "类型不正确")
    private Integer type;
}
